package com.fulihui.wgj.consumer.config.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: LiuJie
 * @date: 2018-07-03 17:19
 */
@Data
@Component
@ConfigurationProperties(prefix = "jedis.pool.config")
public class JedisPoolProperties {

    private Integer maxidle;
    private Integer maxtotal;
    private String host;
    private Integer port;
    private Integer timeout;
    private String password;
    private Integer database;
}
